<?php
class CapabilitiesPerRole extends AppModel {

	var $name = 'CapabilitiesPerRole';
	var $validate = array(
		'capability_id' => array('numeric'),
		'role_id' => array('numeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Capability' => array('className' => 'Capability',
								'foreignKey' => 'capability_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Role' => array('className' => 'Role',
								'foreignKey' => 'role_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>